//
//  ViewController.m
//  APIDemo
//
//  Created by 宣佚 on 15/6/1.
//  Copyright (c) 2015年 Andon Health Co,.Ltd. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

-(void)viewDidLoad
{
    [super viewDidLoad];
    self.textView.text = _text;
}

-(IBAction)clean:(id)sender
{
    [[NSNotificationCenter defaultCenter] postNotificationName:@"CleanLogNotification" object:nil];
    self.textView.text = @"";
}

@end
